<?php
namespace App\Http\Controllers\Integral;
use App\Http\Controllers\BaseApiController;
use App\Services\Integral\Integral;
class IntegralController extends BaseApiController
{
    public $integral;
    public function __construct(Integral $integral)
    {
        $this->integral = $integral;
    }
    //查询兑换日志
    public function logShow(){
        $uid = 2;
        return $this->integral->logShow($uid);
    }
}